﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebServices
{
    /// <summary>
    /// 服务url地址
    /// </summary>
    public class urlService
    {
        /// <summary>
        /// 用户服务
        /// </summary>
        public static string userService = "http://baron.picp.net/WorkLogServices/userservices.asmx";
        /// <summary>
        /// 用户角色服务
        /// </summary>
        public static string userRoleService = "http://baron.picp.net/WorkLogServices/usersRolesServices.asmx";
        /// <summary>
        /// 角色服务
        /// </summary>
        public static string roleService = "http://baron.picp.net/WorkLogServices/RoleServices.asmx";
        /// <summary>
        /// 日志服务
        /// </summary>
        public static string workService = "http://baron.picp.net/WorkLogServices/worklogservices.asmx";
        /// <summary>
        /// 更新服务
        /// </summary>
        public static string updateService = "http://baron.picp.net/WorkLogServices/UpdateSerivce.asmx";
        /// <summary>
        /// 文件服务
        /// </summary>
        public static string fileService = "http://baron.picp.net/WorkLogServices/FileLogsServices.asmx";
    }

    /// <summary>
    /// 方法列表
    /// </summary>
    public enum Method {
        Add,           //
        AddList,       //
        Edit,          //
        Update,        //
        Del,           //
        Find,          //
        FindAll,       //
        FindBy,        //
        FindById,      //
        FindByUserId,  //
        FindByRoleId,  //
        FindByCode,    //
        FindByName,    //
        FindByWId,     //
        Register,      //
        FindByFId,     //
        GetVersion,    //
        GetURL,        //
        GetZips        //
    }
    
}
